package cn.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @version 1.0.0
 * @Author yong.Mr
 * @data 2019-8-9
 */
@SpringBootApplication(scanBasePackages = "cn.leyou")
//@MapperScan("cn.leyou.mapper") 扫描mapper包同包, 及其子包的下的所有注解
@EnableDiscoveryClient  //开启Eureka客户端的服务
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class, args);
    }

}
